package org.jeecg.modules.carinfo.service.impl;

import org.jeecg.modules.carinfo.entity.CarRecord;
import org.jeecg.modules.carinfo.mapper.CarRecordMapper;
import org.jeecg.modules.carinfo.mapper.CarRegisterMapper;
import org.jeecg.modules.carinfo.service.ICarRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 出入场查询
 * @Author: jeecg-boot
 * @Date:   2023-12-04
 * @Version: V1.0
 */
@Service
public class CarRecordServiceImpl extends ServiceImpl<CarRecordMapper, CarRecord> implements ICarRecordService {

    @Autowired
    CarRecordMapper carRecordMapper;
    @Override
    public List<Map<String, Object>> getCount(String companyName) {
        List<Map<String, Object>> list=carRecordMapper.getCount(companyName);
        return list;
    }
    @Override
    public List<Map<String, Object>> getCountList(String start,String end,String companyName,Integer flag) {
        List<Map<String, Object>> list=carRecordMapper.getCountList(start,end,companyName,flag);
        return list;
    }
}
